
.form-box{

  .form-box{
    width:auto !important;
    margin:auto !important;
  }

  .title{
    padding: 14px 16px;
    line-height: 1;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #e9eaec;

    span{
      border-left:5px solid #2f68c3;
      padding-left: 10px;
    }
  }

  .box{
    padding: 16px;
  }

  .MuiGrid-item{
    padding:6px 12px !important;
  }

  .MuiInputBase-input{
    font-size:16px;
  }
}

.form_box_button{
  margin-top:20px;
  text-align: center;

  span{
    letter-spacing: 3px;
  }
}

.form_table{
  width:100%;
  font-size:14px;

  button{
    margin:5px 0;
    font-size:12px;
    color:#495060;
  }

  td{
    line-height: 35px;
    text-align: center;
    border:1px solid #e9eaec;
  }

  tr{
    td:not(:first-child){
      border-left:none;
    }
  }

  thead tr td:nth-child(2){
    width:20%;
  }

  thead tr td:nth-child(3){
    width:20%;
  }

  thead{
    background: #f8f8f9;
  }

  tbody tr td{
    border-top:none;
  }
}



.ivu-form-item {
  margin-bottom: 24px;
  vertical-align: top;
  zoom: 1;

  .ivu-form-item-label{
    width: 130px;
    text-align: right;
    vertical-align: middle;
    float: left;
    font-size: 12px;
    color: #495060;
    line-height: 1;
    padding: 10px 12px 10px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .ivu-form-item-content {
    margin-left: 130px;
    position: relative;
    line-height: 32px;
    font-size: 12px;
  }

  .ivu-input-wrapper {
    display: inline-block;
    width: 100%;
    position: relative;
    vertical-align: middle;
    line-height: normal;
  }

  .ivu-input {
    display: inline-block;
    width: 100%;
    height: 32px;
    line-height: 1.5;
    padding: 4px 7px;
    font-size: 12px;
    border: 1px solid #dddee1;
    border-radius: 3px;
    color: #495060;
    background-color: #fff;
    background-image: none;
    position: relative;
    cursor: text;
    -webkit-transition: border 0.2s ease-in-out, background 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: border 0.2s ease-in-out, background 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: border 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: border 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
  }

  .ivu-input{
    -webkit-box-shadow: 0px 0px 8px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 8px rgb(0 0 0 / 20%);
    border-radius: 5px;
    border: 0px solid transparent;

    &:focus {
      border-color: #5986cf;
      outline: 0;
      -webkit-box-shadow: 0 0 0 2px rgb(47 104 195 / 20%);
      box-shadow: 0 0 0 2px rgb(47 104 195 / 20%);
    }

    &[disabled]{
      color: #ccc;
      background-color: #f3f3f3;
      opacity: 1;
      cursor: not-allowed;
      color: initial;
    }
  }

  .ivu-select{
    width:100%;
    -webkit-box-shadow: 0px 0px 8px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 8px rgb(0 0 0 / 20%);
    border-radius: 5px;
    border: 0px solid transparent;

    &.MuiInput-underline:before{
      display:none;
    }

    &>.MuiSelect-select{
      height: 25px;
      line-height: 25px;
      font-size: 12px;
      padding: 4px 7px;
    }
  }
}

// required
.form-box{
  .ivu-form-item-required{
    .ivu-form-item-label:before {
      content: '*';
      display: inline-block;
      margin-right: 4px;
      line-height: 1;
      font-family: SimSun;
      font-size: 12px;
      color: #ed3f14;
    }
  }

  .ivu-form-item-error-tip {
    position: absolute;
    top: 100%;
    left: 0;
    line-height: 1;
    padding-top: 6px;
    color: #ed3f14;
  }
}

// error
.form-box {
  .ivu-form-item-error .ivu-input {
    border: 1px solid #ed3f14;
  }
  .ivu-form-item-error .ivu-input:hover {
    border-color: #ed3f14;
  }
  .ivu-form-item-error .ivu-input:focus {
    border-color: #ed3f14;
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
    box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
  }
  .ivu-form-item-error .ivu-input-icon {
    color: #ed3f14;
  }
  .ivu-form-item-error .ivu-input-group-prepend,
  .ivu-form-item-error .ivu-input-group-append {
    background-color: #fff;
    border: 1px solid #ed3f14;
  }
  .ivu-form-item-error .ivu-input-group-prepend .ivu-select-selection,
  .ivu-form-item-error .ivu-input-group-append .ivu-select-selection {
    background-color: inherit;
    border: 1px solid transparent;
  }
  .ivu-form-item-error .ivu-input-group-prepend {
    border-right: 0;
  }
  .ivu-form-item-error .ivu-input-group-append {
    border-left: 0;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input {
    display: inline-block;
    width: 100%;
    height: 32px;
    line-height: 1.5;
    padding: 4px 7px;
    font-size: 12px;
    border: 1px solid #dddee1;
    border-radius: 3px;
    color: #495060;
    background-color: #fff;
    background-image: none;
    position: relative;
    cursor: text;
    -webkit-transition: border 0.2s ease-in-out, background 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: border 0.2s ease-in-out, background 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: border 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: border 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input::-moz-placeholder {
    color: #bbbec4;
    opacity: 1;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input:-ms-input-placeholder {
    color: #bbbec4;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input::-webkit-input-placeholder {
    color: #bbbec4;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input:hover {
    border-color: #5986cf;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input:focus {
    border-color: #5986cf;
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(47, 104, 195, 0.2);
    box-shadow: 0 0 0 2px rgba(47, 104, 195, 0.2);
  }
  .ivu-form-item-error .ivu-transfer .ivu-input[disabled],
  fieldset[disabled] .ivu-form-item-error .ivu-transfer .ivu-input {
    color: #ccc;
    background-color: #f3f3f3;
    opacity: 1;
    cursor: not-allowed;
    color: initial;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input[disabled]:hover,
  fieldset[disabled] .ivu-form-item-error .ivu-transfer .ivu-input:hover {
    border-color: #e4e5e7;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input[disabled]:hover,
  fieldset[disabled] .ivu-form-item-error .ivu-transfer .ivu-input:hover {
    border-color: #e4e5e7;
  }
  textarea.ivu-form-item-error .ivu-transfer .ivu-input {
    max-width: 100%;
    height: auto;
    min-height: 32px;
    vertical-align: bottom;
    font-size: 14px;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input-large {
    font-size: 14px;
    padding: 6px 7px;
    height: 36px;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input-small {
    padding: 1px 7px;
    height: 24px;
    border-radius: 3px;
  }
  .ivu-form-item-error .ivu-transfer .ivu-input-icon {
    color: #80848f;
  }


  .ivu-form-item-error .ivu-input-number {
    border: 1px solid #ed3f14;
  }
  .ivu-form-item-error .ivu-input-number:hover {
    border-color: #ed3f14;
  }
  .ivu-form-item-error .ivu-input-number:focus {
    border-color: #ed3f14;
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
    box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
  }
  .ivu-form-item-error .ivu-input-number-focused {
    border-color: #ed3f14;
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
    box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
  }



  .ivu-form-item-error .ivu-select-selection {
    border: 1px solid #ed3f14;
  }
  .ivu-form-item-error .ivu-select-arrow {
    color: #ed3f14;
  }
  .ivu-form-item-error .ivu-select-visible .ivu-select-selection {
    border-color: #ed3f14;
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
    box-shadow: 0 0 0 2px rgba(237, 63, 20, 0.2);
  }
}
